package server.net.protocol.ping;

import server.net.Client;

/**
 * This task pings a client.
 *
 * @author Vincent Tsuei
 * @version 2012-11-17
 */
public class PingTask implements Runnable {
    
    private final Client client;
    public PingTask(Client c) {
        this.client = c;
    }
    
    @Override
    public void run() {
        client.ping();
    }
}
